package com.acoreful.bootsample.event.core;

import org.springframework.context.ApplicationEvent;

import lombok.Data;
import lombok.EqualsAndHashCode;

@SuppressWarnings("serial")
@Data
@EqualsAndHashCode(callSuper = false)
public class MsgEvent extends ApplicationEvent {
	
	private String message;

	public MsgEvent(Object source) {
		super(source);
	}

	public MsgEvent(Object source, String message) {
		super(source);
		this.message=message;
	}

}
